package com.scoy.honeymei.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * ClassName:      com.scoy.honeymei.bean
 * Description:
 * Author:         GaoZhan & Administrator
 * UpdateDate:     2019/10/29/0029$ 上午 11:11$
 * UpdateRemark:   更新内容
 */
public class TripDetailBean implements Parcelable {


    /**
     * id : 1
     * start_place : 郑州
     * destination : 山西
     * starttime : 2019-11-13 15:22
     * tel : 16633985321
     * duration : 6小时
     * bus_id : 1
     * price : 50.00
     * status : 1
     * recommendstatus : 1
     * pas_seat_num : 38
     * seat_num : 38
     * bus_no : 豫A663899
     * name : 李无
     */

    private int id;
    private String start_place;
    private String destination;
    private String starttime;
    private String tel;
    private String duration;
    private int bus_id;
    private String price;
    private String status;
    private String recommendstatus;
    private int pas_seat_num;
    private int seat_num;
    private String bus_no;
    private String name;
    private String fx_url;
    private String fx_title;
    private String fx_miaoshu;
    private String fx_image;

    private long stoptime;


    protected TripDetailBean(Parcel in) {
        id = in.readInt();
        start_place = in.readString();
        destination = in.readString();
        starttime = in.readString();
        tel = in.readString();
        duration = in.readString();
        bus_id = in.readInt();
        price = in.readString();
        status = in.readString();
        recommendstatus = in.readString();
        pas_seat_num = in.readInt();
        seat_num = in.readInt();
        bus_no = in.readString();
        name = in.readString();
        fx_url = in.readString();
        fx_title = in.readString();
        fx_miaoshu = in.readString();
        fx_image = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(id);
        dest.writeString(start_place);
        dest.writeString(destination);
        dest.writeString(starttime);
        dest.writeString(tel);
        dest.writeString(duration);
        dest.writeInt(bus_id);
        dest.writeString(price);
        dest.writeString(status);
        dest.writeString(recommendstatus);
        dest.writeInt(pas_seat_num);
        dest.writeInt(seat_num);
        dest.writeString(bus_no);
        dest.writeString(name);
        dest.writeString(fx_url);
        dest.writeString(fx_title);
        dest.writeString(fx_miaoshu);
        dest.writeString(fx_image);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<TripDetailBean> CREATOR = new Creator<TripDetailBean>() {
        @Override
        public TripDetailBean createFromParcel(Parcel in) {
            return new TripDetailBean(in);
        }

        @Override
        public TripDetailBean[] newArray(int size) {
            return new TripDetailBean[size];
        }
    };

    public long getStoptime() {
        return stoptime;
    }

    public void setStoptime(long stoptime) {
        this.stoptime = stoptime;
    }

    public String getFx_title() {
        return fx_title;
    }

    public void setFx_title(String fx_title) {
        this.fx_title = fx_title;
    }

    public String getFx_miaoshu() {
        return fx_miaoshu;
    }

    public void setFx_miaoshu(String fx_miaoshu) {
        this.fx_miaoshu = fx_miaoshu;
    }

    public String getFx_image() {
        return fx_image;
    }

    public void setFx_image(String fx_image) {
        this.fx_image = fx_image;
    }

    public String getFx_url() {
        return fx_url;
    }

    public void setFx_url(String fx_url) {
        this.fx_url = fx_url;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStart_place() {
        return start_place;
    }

    public void setStart_place(String start_place) {
        this.start_place = start_place;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public int getBus_id() {
        return bus_id;
    }

    public void setBus_id(int bus_id) {
        this.bus_id = bus_id;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRecommendstatus() {
        return recommendstatus;
    }

    public void setRecommendstatus(String recommendstatus) {
        this.recommendstatus = recommendstatus;
    }

    public int getPas_seat_num() {
        return pas_seat_num;
    }

    public void setPas_seat_num(int pas_seat_num) {
        this.pas_seat_num = pas_seat_num;
    }

    public int getSeat_num() {
        return seat_num;
    }

    public void setSeat_num(int seat_num) {
        this.seat_num = seat_num;
    }

    public String getBus_no() {
        return bus_no;
    }

    public void setBus_no(String bus_no) {
        this.bus_no = bus_no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
